SpriteSurface.Depth

Bit depth of the SpriteSurface area. May take on values of 0, 8,16, or 32.

Syntax

Depth( Integer ) as


Parameters

Integer


Notes

Specifying 0 causes the spritesurface to automatically match its bit depth to the depth of the monitor at the time the spritesurface was opened. The Depth property can be changed on the fly.